package com.cmc.cloud.cmclink.doc.convert;

import com.cmc.cloud.cmclink.doc.api.document.rep.BookingRequestConfigRespDto;
import com.cmc.cloud.cmclink.doc.entity.BookingRequestConfigDO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * BookingRequestConfig 属性转换
 *
 * @author lzp
 */
@Mapper
public interface BookingRequestConfigConvert {
    BookingRequestConfigConvert INSTANCE = Mappers.getMapper(BookingRequestConfigConvert.class);

    /**
     * 属性转换
     * @param bookingRequestConfigDOList
     * @return
     */
    List<BookingRequestConfigRespDto> convertDto(List<BookingRequestConfigDO> bookingRequestConfigDOList);
}
